package com.ruoyi.orderEat.service;

import java.util.List;
import com.ruoyi.orderEat.domain.ShopSkuInfo;
import com.ruoyi.orderEat.domain.ShopSkuInfoVO;

/**
 * 商品规格Service接口
 * 
 * @author DingHao
 * @date 2023-11-24
 */
public interface IShopSkuInfoService 
{
    /**
     * 查询商品规格
     * 
     * @param shopSkuId 商品规格主键
     * @return 商品规格
     */
    public ShopSkuInfo selectShopSkuInfoByShopSkuId(Long shopSkuId);

    /**
     * 查询商品规格列表
     *
     * @param shopSkuInfo 商品规格
     * @return 商品规格集合
     */
    public List<ShopSkuInfoVO> selectShopSkuInfoList(ShopSkuInfo shopSkuInfo);

    /**
     * 查询商品规格列表
     *
     * @param shopSkuInfo 商品规格
     * @return 商品规格集合
     */
    public List<ShopSkuInfoVO> selectShopSkuInfoVOList(ShopSkuInfo shopSkuInfo);

    /**
     * 新增商品规格
     * 
     * @param shopSkuInfo 商品规格
     * @return 结果
     */
    public int insertShopSkuInfo(ShopSkuInfo shopSkuInfo);

    /**
     * 修改商品规格
     * 
     * @param shopSkuInfo 商品规格
     * @return 结果
     */
    public int updateShopSkuInfo(ShopSkuInfo shopSkuInfo);

    /**
     * 批量删除商品规格
     * 
     * @param shopSkuIds 需要删除的商品规格主键集合
     * @return 结果
     */
    public int deleteShopSkuInfoByShopSkuIds(Long[] shopSkuIds);

    /**
     * 删除商品规格信息
     * 
     * @param shopSkuId 商品规格主键
     * @return 结果
     */
    public int deleteShopSkuInfoByShopSkuId(Long shopSkuId);
}
